<?php

/**
 * Created by PhpStorm.
 * User: linux
 * Date: 11/01/2018
 * Time: 1:15 PM
 */
namespace Criteria\Person;

class Person
{
    private $name;
    private $gender;
    private $maritalStatus;

    /**
     * Person constructor.
     * @param string $name
     * @param string $gender
     * @param string $maritalStatus
     */
    public function __construct(string $name, string $gender, string $maritalStatus)
    {
        $this->name = $name;
        $this->gender = $gender;
        $this->maritalStatus = $maritalStatus;
    }

    /**
     * @return string|string
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @return string|string
     */
    public function getGender()
    {
        return $this->gender;
    }

    /**
     * @return string|string
     */
    public function getMaritalStatus()
    {
        return $this->maritalStatus;
    }
}